﻿
namespace KingerRobot.MexicoSailunWMS.SpiService;

internal interface IMesCuringRequestMaterial
{
    /// <summary>
    /// 根据物料id获取硫化机信息
    /// </summary>
    /// <param name="materialId">物料id</param>
    /// <returns></returns>
    List<POMesCuringRequestMaterial> GetCuringRequestMaterialByMaterialId(long materialId);
    /// <summary>
    /// 根据物料id获取分组
    /// </summary>
    /// <returns></returns>
    List<CuringRequestMaterialGroup> GetCuringRequestMaterialGroup();

    /// <summary>
    /// 添加货修改数据
    /// </summary>
    /// <param name="pOMesCuringRequestMaterial"></param>
    /// <returns></returns>
    int AddOrUpdateCuringRequestMaterial(POMesCuringRequestMaterial pOMesCuringRequestMaterial);

    /// <summary>
    /// 根据硫化机左右模位置id获取硫化机信息
    /// </summary>
    /// <param name="locId">硫化机左右模位置id</param>
    /// <returns></returns>
    POMesCuringRequestMaterial GetCuringRequestMaterialByLocId(long locId);

    List<CuringOutOrderBean> GetCuringOutOrderDetails();
}
public class CuringRequestMaterialGroup
{
    public long MaterialId { get; set; }
    public string CuringCode { get; set; }
}
